home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / communication / bbs / hydrabbsa8 / source / src.lha / common / errors.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-08  |  1.5 KB  |  46 lines

  1. // define our error messages
  2.  
  3. #define EMSG_NOREQTOOLS                 1
  4. #define EMSG_NOMEM                      2
  5. #define EMSG_NOLIBS                     3
  6. #define EMSG_NOFONT                     4
  7. #define EMSG_NOSCREEN                   5
  8. #define EMSG_NOWINDOW                   6
  9. #define EMSG_BBSGLOBALERR               7
  10. #define EMSG_NOTENOUGHNL                8
  11. #define EMSG_NODESETTIGSERROR           9
  12. #define EMSG_ALREADYSTARTED             10
  13. #define EMSG_CANTCHANGESCREEN           11
  14. #define EMSG_NOAUTOSTART                12
  15. #define EMSG_NOHBBS                     13
  16. #define EMSG_CONFPATHSERROR             14
  17. #define EMSG_PATHMISSING                15
  18. #define EMSG_LEVELSFILEERROR            16
  19. #define EMSG_PROTOCOLSFILEERROR         17
  20.  
  21. // messages from "Node"
  22.  
  23. #define EMSG_NOCTRL                     100
  24. #define EMSG_NODEVICE                   101
  25. #define EMSG_NONODEWINDOW               102
  26. #define EMSG_NOWATCHSCRWIN              103
  27. #define EMSG_NODEALREADYUP              104
  28. #define EMSG_NODEINVALID                105
  29. #define EMSG_NOCOMMON                   106
  30. #define EMSG_COMMONERR                  107
  31. #define EMSG_NONODE                     108
  32. #define EMSG_NODEERR                    109
  33. #define EMSG_NOTIMER                    110
  34. #define EMSG_DEVICEFILEERR              111
  35.  
  36. #ifdef MAIN
  37.  
  38.   UBYTE *TYPE_STR[7]={"None!","Fatal","Critical","Important","Warning","Don't Care","Memory"};
  39.   UBYTE *ESTR_NOSERIAL="Error Opening Serial Port!";
  40.  
  41. #else
  42.  
  43.   extern UBYTE *TYPE_STR[7];
  44.   extern UBYTE *ESTR_NOSERIAL;
  45.  
  46. #endif